<%@ page language="java"  pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>管理员登陆</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<style type="text/css">
	#user,#pass
	{
	width:200px;
	}
	</style>
  </head>
  
  <body>
  <form name="form1" method="post" action="login.action" class="required-validate">
    <table  border="0" align="center" cellpadding="0" cellspacing="5">
      <tr>
        <td colspan="2" align="center">请输入用户名和密码</td>
      </tr>
      <tr>
        <td>用户名：</td>
        <td><label>
          <input  type="text" name="username"  class="required">
        </label></td>
        <td><span>${usernameError }</span></td>
      </tr>
      <tr>
        <td>密 码：</td>
        <td><input  type="text"  name="password" class="required"></td>
      <td><span>${passwordError }</span></td>
      </tr>
      <tr>
        <td><label>
          <input type="reset" name="Submit" value="重置">
        </label></td>
        <td><label>
          <input type="submit" name="Submit2" value="提交">
        </label></td>
        <td>&nbsp;</td>
      </tr>
    </table>
  </form>
  </body>
</html>
